Services > Service Configuration Files > Encrypted Keywords

Encrypted Keywords

Several keywords in CygNet Software are encrypted to provide added security for usernames and passwords.

Encryption Key File

Keywords are encrypted with a single, common, encryption key file, which stores an AES key used to encrypt and decrypt usernames and passwords. The file should only be read by the user running the related service and any user that needs to run the Config File Manager, which can be used to change (re-encrypt) any related keyword. The Config File Manager also can be used to create a new encryption key file after upgrading, or if one did not previously exist.

The name and location of the common encryption key file is specified by the ENCRYPTION_KEY_FILE keyword, which is found in the configuration files (.cfg) for the services that have encrypted keywords (Acs.cfg, Fms.cfg, and Gns.cfg). The default name of the file is ServiceConfigEncryptionKey and its default location is the root of the Services data directory.

NTFS permissions should be used to prevent unauthorized users from accessing the encryption key file. It should not be copied to a BSS.

The encryption key file is not replicated, so if configuration files are manually "replicated," the encryption key file should also be.

Services with Encrypted Keywords

The following keywords are encrypted in the common encryption key file.

Service Encrypted Keywords Notes

ACS

 

FMS

 

GNS

These keywords can be changed (and re-encrypted) using either the Config File Manager (and as described below) or the GNS Configuration Utility.

The password for the email server keyword (EMAIL_PASSWORD) cannot be decrypted, as it is only ever compared against.

RSM

Not encrypted, but obfuscated using a password hashing algorithm. See the note under PIN_WORK_FACTOR for more information about password hashing.

The password for this keyword cannot be decrypted, as it is only ever compared against.

See RSM Password for more information about this keyword.

Updating Encrypted Keywords

Use the Config File Manager to create or update the encryption key file for all encrypted keywords.

  1. Open the Config File Manager, stored in the CygNet\Utilities directory (ConfigFileMgr.exe) on the host server. To start the utility, browse to the directory using Windows Explorer and double-click the program icon.
  2. Load the local configuration files.

Note: This feature is only available for local configuration files. If you have loaded remote configuration files, you will be warned of this.

  1. Filter the keywords and find the ENCRYPTION_KEY_FILE keyword.
  2. Click the Special Action button in the A column next to the ENCRYPTION_KEY_FILE keyword.

ENCRYPTION_KEY_FILE

  1. If an encryption key file exists for any service, the path and file name will be displayed in the ENCRYPTION_KEY_FILE dialog box.
  2. Click to specify a path to a new encryption key file.
  3. If an encryption key file already exists at the destination, you must change the file name or path. You can't overwrite an existing file.
  4. Click OK to decrypt all currently encrypted keywords with the old file, and the re-encrypted using the new file. Additionally, the value for the ENCRYPTION_KEY_FILE keyword for all services will be updated with the new path.
  5. Once you have made all desired changes, click Finish to review and save changes.
  6. Stop and restart affected the service(s) for the changes to become effective. The service reads the .cfg file only at startup.
Back to top

Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.